pushd pics
call r.bat
popd
for %%i in (1) do (
    latex text.tex
    bibtex text
    latex text.tex
    latex text.tex
    dvips text.dvi
    dvipdfm text.dvi
)
rem dvips text.dvi
rem dvipdfm text.dvi
